{% extends "./common/base.html" %}
{% block title %}
	我的
{% endblock %}
{% block css %}
	<link rel="stylesheet" type="text/css" href="/css/h5/common.css">
	<link rel="stylesheet" type="text/css" href="/css/h5/personal.css">
{% endblock %}
{% block content %}
	{% if is_logined %}
	<div href="/h5/login" class="header">
		<p class="top-text">lwc</p>
		<p class="bottom-text">{{user.phone}}</p>
	</div>
	{% else %}
	<a href="/h5/login" class="header">
		<p class="top-text">登录/注册</p>
		<p class="bottom-text">登录后可享受更多特权</p>
		<img class="arrow-icon" src="/img/h5/arrow_right_icon.png">
	</a>
	{% endif %}
	
	<div class="nav">
		{% if is_logined %}
		<a href="/h5/order/list" class="nav-item">
			<div class="nav-item-left">
				<img class="nav-logo" src="/img/h5/order_icon.png">
				<span>我的订单</span>
			</div>
			<img class="arrow-icon" src="/img/h5/arrow-right.png">
		</a>
		<div class="nav-item">
			<div class="nav-item-left">
				<img class="nav-logo" src="/img/h5/jiagong_icon.png">
				<span>加工管理</span>
			</div>
			<img class="arrow-icon" src="/img/h5/arrow-right.png">
		</div>
		{% endif %}
		<a target="_blank" href="/h5/factory/entry" class="nav-item">
			<div class="nav-item-left">
				<img class="nav-logo" src="/img/h5/ruzhu_icon.png">
				<span>工厂入驻</span>
			</div>
			<img class="arrow-icon" src="/img/h5/arrow-right.png">
		</a>
		<div class="nav-item">
			<div class="nav-item-left">
				<img class="nav-logo" src="/img/h5/fenxiang_icon.png">
				<span>分享万能工厂</span>
			</div>
			<img class="arrow-icon" src="/img/h5/arrow-right.png">
		</div>
		<div class="nav-item">
			<div class="nav-item-left">
				<img class="nav-logo" src="/img/h5/lianxi_icon.png">
				<span>联系客服</span>
			</div>
			<img class="arrow-icon" src="/img/h5/arrow-right.png">
		</div>
		<a href="/h5/about" class="nav-item">
			<div class="nav-item-left">
				<img class="nav-logo" src="/img/h5/guanyu_icon.png">
				<span>关于万能工厂</span>
			</div>
			<img class="arrow-icon" src="/img/h5/arrow-right.png">
		</a>
	</div>
	<div class="logout">
		退出登录
	</div>
	{% include "./common/navbar.html" %}
{% endblock %}



